package fun.taostool.mapper.mysql;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import fun.taostool.entity.sys.DeviceInfoEntity;
import fun.taostool.vo.DeviceInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface DeviceInfoMapper extends BaseMapper<DeviceInfoEntity> {

    List<DeviceInfoVO> getLocationCodeByEU(@Param("euid") Integer euid, @Param("type") String type);

    Integer getEcIdByLocationCode(@Param("type") String type);
}
